//
//  main.m
//  NSString
//
//  Created by 郭志远 on 2023/11/23.
//

#import <Foundation/Foundation.h>

@interface Iphone : NSObject
- (char *)loadMessage;

@end

@implementation Iphone

- (char *)loadMessage
{
    return "我这好使啊";
}

@end

int main(int argc, const char * argv[]) {
    
    char *name1 = "lnj";
    char name2[] = "lnj";
    NSString *str = @"asas";
    NSUInteger len = [str length];
    NSLog(@"len%lu",len);
    NSString *str1 = [NSString stringWithFormat:@"age = %i", 12];
    NSLog(@"str: %@",str1);
    Iphone *p = [Iphone new];
    NSLog(@"content = %s", [p loadMessage]);
    return 0;
}
